package com.topone.dataObject;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author eddie
 */
@MappedSuperclass
@Data
public class BaseEntity implements Serializable {
    @Column(name = "comment", length = 4056)
    private String comment;
    @Column(name = "data_flag")
    private String dataFlag;

    public BaseEntity() {
    }

    public BaseEntity(String comment, Date created, Date updated, Long sequence, String dataFlag) {
        this.comment = comment;
        this.dataFlag = dataFlag;
    }


}
